/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.tb_goods.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 货物Entity
 * @author ZhangYangZe
 * @version 2017-05-14
 */
public class TbGoods extends DataEntity<TbGoods> {
	
	private static final long serialVersionUID = 1L;
	private String goodName;		// 货名称
	
	public TbGoods() {
		super();
	}

	public TbGoods(String id){
		super(id);
	}

	@Length(min=1, max=50, message="货名称长度必须介于 1 和 50 之间")
	public String getGoodName() {
		return goodName;
	}

	public void setGoodName(String goodName) {
		this.goodName = goodName;
	}
	
}